package hu.bme.aut.consulttime.client;

import hu.bme.aut.consulttime.entitydtos.ToDoDTO;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ToDoServiceAsync {

	public void createToDo(ToDoDTO toDoDTO, AsyncCallback<Boolean> callback);
	
	public void retrieveToDo(long toDoId, AsyncCallback<ToDoDTO> callback);
	
	public void retrieveToDos(long teamId, AsyncCallback<List<ToDoDTO>> callback);
	
	public void retrieveToDosForStudent(long studentId, long teamId, AsyncCallback<List<ToDoDTO>> callback);
	
	public void retrieveToDosByTutor(long tutorId, long teamId, AsyncCallback<List<ToDoDTO>> callback);
	
	public void updateToDo(ToDoDTO toDoDTO, AsyncCallback<Boolean> callback);
	
	public void deleteToDo(long toDoId, AsyncCallback<Boolean> callback);
	
}
